<template>
  <div class="dgg-input">
    DggInput: <input :value="value" @input="onInput">, value:{{ value }}
  </div>
</template>

<script>
export default {
  name: 'DggInput',
  props: ['value'],
  methods: {
    onInput (e) {
      // this.$emit('changeValue', e.target.value)
      this.$emit('input', e.target.value)
    }
  }
}
</script>

<style>

</style>
